Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODWindowState


AcquireODWindow

The AcquireODWindow method returns a reference to the window object corresponding to the specified platform-specific window.

ODWindow AcquireODWindow (in ODPlatformWindow aWindow);
aWindow
A 32-bit value identifying a platform-specific window. On the Mac OS platform, this parameter is a window pointer (type WindowPtr).
return value
A reference to the window object corresponding to the specified platform-specific window, or kODNULL if the window is not an OpenDoc window.
DISCUSSION
OpenDoc calls this method.

This method increments the reference count of the returned window. When the caller has finished using that window, it should call the window's Release method.

SEE ALSO
The ODWindowState::IsODWindow method (page 863).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help